{__NOLAYOUT__}
<div toplayer="1" class="prompt-pop pop-style3" style="z-index:{$zindex};width:800px;" id="<?php echo $funcid;?>" url="<?php echo U('CustomerDelivery/index'); ?>">

   <div class="title">
       <span class="pop-name">查看客户提货信息信息</span>
       <a href="javascript:void(0);" onclick="$(this).parents('.prompt-pop').remove();_asr.closePopup('{$funcid}');" class="close iconfont">&#xe60d;</a>
   </div>





<div class="pop-scroll">
   <div class="screening ">
      <form enctype="multipart/form-data" action="<?php echo U('CustomerDelivery/index?func=_save'); ?>" id="<?php echo "$funcid"; ?>-Search" method="post" verify="1">
          <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
          <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
          <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
          <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
          <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
          <ul class="form form-mod-new form-column2">

             <li>
                  <div class="unit-left"><span class="tit"> 客户代码</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Customer/index?func=view&no=$search[code]"); ?>','<?php echo filterFuncId( U("/Home/Customer/index?func=view&no=$search[code]") ,"");?>', '<?php echo tabTitle("客户","$search[code]") ; ?>' ,0); " ><?php echo $search["code"]; ?></a></label></div>
             </li>
             <li class="per100">
                  <div class="unit-left"><span class="tit"> 客户简称</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo $search["name"]; ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 车牌号</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo $search["carno"]; ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 驾驶员</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo $search["contact"]; ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 身份证</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo $search["idcard"]; ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 联系电话</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo $search["phone"]; ?></label></div>
             </li>
             <li class="per100">
                  <div class="unit-left"><span class="tit"> 承运单位</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo $search["company"]; ?></label></div>
             </li>
             <li class="per100">
                  <div class="unit-left"><span class="tit"> 备注</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo OverView($search["remarks"],150,"..."); ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 创建时间</span></div>
                  <div class="unit-mid"><label class="pbtxt txt1"  ><?php echo system_format("DT", $search["create_time"],1); ?></label><label class="pbtxt txt1"  ><?php echo $search["create_user"]; ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 修改时间</span></div>
                  <div class="unit-mid"><label class="pbtxt txt1"  ><?php echo system_format("DT", $search["modify_time"],1); ?></label><label class="pbtxt txt1"  ><?php echo $search["modify_user"]; ?></label></div>
             </li>
             <li>
                  <div class="unit-left"><span class="tit"> 状态</span></div>
                  <div class="unit-mid"><label class="pbtxt txt0"  ><?php echo get_table_CustomerDelivery_status("$search[status]","name",""); ?></label></div>
             </li>
             <li>
                  <div class="unit-left"></div>
                  <div class="unit-mid"></div>
             </li>

          </ul>
       </form>
    </div>
 </div>
    <div class="pop-sub abe-txtc" >
               <input type="button" value="取消" class="btn btn-org mrg_10 " onclick="$(this).parents('.prompt-pop').remove();_asr.closePopup('{$funcid}');" />
    </div>




</div>

<script>
        function <?php echo $funcid; ?>_chooseDate(o) {
            if($('.date').length>0)
                pickmeup('.date').destroy();
            $('.date').removeClass('date')
            $(o).addClass('date');
            pickmeup('.date', {
                format  : 'Y-m-d',
                date : $(o).val(),
                hide_on_select : true,
                locale : 'zh'
            }).show();
        }

        $('.calendar0,.calendar1').on('click',function(){
            <?php echo $funcid; ?>_chooseDate(this)
        });


        /***************************************************************************************/
        /* 前台页面初始化                                                                      */
        /***************************************************************************************/
        function <?php echo $funcid; ?>_init(_id){
            return ;
        }

        /***************************************************************************************/
        /* 前台页面清除                                                                      */
        /***************************************************************************************/
        function <?php echo $funcid; ?>_clearsearch(_frm){



          $("#{$funcid}").find(".selebtn").each(function(){
              $(this).find("a:eq(0)").click();
            });

          $("#{$funcid} .city-tags-new .sele-remove").click();
        }

   function <?php echo $funcid;?>_callback(param){
        _asr.closePopup('{$funcid}');
   }



    {:W('Summary/javascript',array('CustomerDelivery'))}

</script>

